package com.qfedu.yanglao20.entity.sysAdmin;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("角色管理")
public class SysRole {

  @ApiModelProperty("用户管理id")
  @TableId(type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty("角色名称")
  private String roleName;

  @ApiModelProperty("角色描述")
  private String roleDesc;

  @ApiModelProperty("排序")
  private Integer sort;

  @ApiModelProperty("可用状态0禁用1启用")
  private Integer enableFlag;

  @ApiModelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;

  @ApiModelProperty("更新时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateTime;
}
